package com.gw.smscheck.service.sys;

import com.github.pagehelper.PageInfo;
import com.gw.smscheck.entity.sys.LoginUser;
import com.gw.smscheck.util.ResultObj;

import java.util.List;

/**
 * @Author: JunYaoWang
 * @Data: Created in 15:50 2018/11/14
 */
public interface LoginUserService {
    /**
     * 分页查询
     * @param user
     * @return
     */
    public PageInfo<LoginUser> pageSelect(LoginUser user);

    /**
     * 添加
     * @param user
     * @return
     */
    public ResultObj add(LoginUser user);

    /**
     * 修改
     * @param user
     * @return
     */
    public Integer update(LoginUser user);

    /**
     * 根据id查询
     * @param user
     * @return
     */
    public LoginUser findById(LoginUser user);

    /**
     * 删除
     * @param user
     * @return
     */
    public Integer delete(LoginUser user);
}
